package com.video.mall.controller;


import com.video.common.enumeration.AppHttpCodeEnum;
import com.video.common.result.ResponseResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 商品信息轮播图 前端控制器
 * </p>
 *
 * @author la
 * @since 2024-11-20
 */
@RestController
@RequestMapping("/product-swipe")
public class ProductSwipeController {

    /*
     * 根据商品id查询轮播信息图
     * */
    @GetMapping("/getSwipe")
    public ResponseResult getSwipe(Long productId) {
        System.out.println("productId:" + productId);
        return ResponseResult.okResult(AppHttpCodeEnum.SUCCESS);
    }
}
